home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / source / contrib / supported / xypic / src / xy2cell.doc / node2_mn.html < prev    next >
Text File  |  1995-03-15  |  4KB  |  163 lines

  1.  
  2. <H2><A ID="SECTION00001000000000000000">
  3. Typesetting 2-cells in Diagrams</A>
  4. </H2>
  5.  
  6. <P>
  7.  
  8. Categorical
  9. ``2-cell'' morphisms are used in the study of tensor categories and elsewhere.
  10. The morphisms are displayed as a pair of curved arrows, symmetrically
  11. placed, together with an orientation indicated by a short broad arrow,
  12. or <#11#><I>Arrow</I><#11#>. Labels may be placed on all three components. 
  13.  
  14. <P>
  15.  
  16.  
  17. <P>
  18. <#12#>5pc<#12#><tex2html_comment_mark>31
  19. <#13#>2pc<#13#><tex2html_comment_mark>32
  20.  
  21. <P>
  22. <BR>
  23. <tex2html_image_mark>#code14#
  24. <BR>
  25. <P><tex2html_verbatim_mark>#math449#</P><DIV ALIGN="CENTER">
  26. <tex2html_image_mark>#tex2html_wrap_indisplay1723#
  27. </DIV><P></P>
  28.  
  29.  
  30. <P>
  31. <BR>
  32. <tex2html_image_mark>#code16#
  33. <BR>
  34. <P><tex2html_verbatim_mark>#math450#</P><DIV ALIGN="CENTER">
  35. <tex2html_image_mark>#tex2html_wrap_indisplay1725#
  36. </DIV><P></P>
  37.  
  38.  
  39. <P>
  40. These categorical diagrams frequently
  41. having a matrix-like layout, as with commutative diagrams. 
  42. To facilitate this there are control sequences of the form: 
  43. || , || , || , ...  
  44. analogous to the names defined in |xyv2| for use
  45. in diagrams produced using |xymatrix|.
  46. As this involves the definition of 21 new control sequences, many of which
  47. may never be used, these are not defined immediately upon loading |xy2cell|.
  48. Instead the user must first specify ||. 
  49.  
  50. <P>
  51. As in the second example above, just the upper or lower curved
  52. arrow may be set using control sequences of the form
  53. |.̇uppertwocell| and |.̇lowertwocell|. 
  54. These together with the |.̇compositemap| family, in which
  55. two abutting arrows are set with an empty object at the join, 
  56. allow for the construction of complicated ``pasting diagrams'' 
  57. (see figure ??[f.pasting] for an example). 
  58.  
  59. <P>
  60. The following initialise the families of control sequences 
  61. for use in matrix diagrams.
  62.  
  63. <P>
  64. <BR>
  65. <tex2html_image_mark>#defs20#
  66. <BR>
  67.  
  68. <P>
  69. (
  70. @<#1091#><#22#>twocell<#22#><#869#><tex2html_comment_mark>34
  71. @<#23#>start of 2-cell<#23#><#24#><#24#><tex2html_comment_mark>35
  72. @<#869#><#1091#>
  73.  
  74. <P>
  75. @<#1092#><tex2html_comment_mark>36
  76. <#25#>uppertwocell<#25#><#870#><tex2html_comment_mark>37
  77. @<#26#>start of 2-cell<#26#><#27#><#27#><tex2html_comment_mark>38
  78. @<#870#><tex2html_comment_mark>39
  79. <#28#>lowertwocell<#28#><#871#><tex2html_comment_mark>40
  80. @<#29#>start of 2-cell<#29#><#30#><#30#><tex2html_comment_mark>41
  81. @<#871#><#1092#>
  82.  
  83. <P>
  84. @<#1093#><#31#>compositemap<#31#><#872#><tex2html_comment_mark>42
  85. @<#32#>start composite-map<#32#><#33#><#33#><tex2html_comment_mark>43
  86. @<#872#><#1093#>
  87.  
  88. <P>
  89. @<#34#><tex2html_comment_mark>44
  90. <#34#>
  91. )
  92.  
  93. <P>
  94.  The families of connections are defined using the utility macro...
  95. ||
  96. which defines control sequences for morphisms between 
  97.  neighbouring cells, and next-to-neighbouring cells.
  98.  
  99. <P>
  100. More distant cells use  ||, ||, etc.
  101.  with ;SPMlt;hop;SPMgt;s e.g.  
  102.       |[1,3]|  and  |[llddd]|.
  103.  
  104. <P>
  105. (
  106. @#1[#2]#3<#873#>#1<#873#>
  107. @[#2]#3<#36#><#36#>
  108.  
  109. <P>
  110. @#1#2<#1094#><tex2html_comment_mark>48
  111. <#1094#>
  112. )
  113.  
  114. <P>
  115.  
  116. <P><P><BR>
  117.  
  118. <P>
  119. Alternatively 2-cells can be set directly in -pictures without using the
  120. matrix feature. In this case the above commands are not needed.  This is
  121. described in~§??[standard].
  122.  
  123. <P>
  124. Furthermore a new directional |<#86#>=;SPMgt;<#86#>| can be used to 
  125. place an ``Arrow'' anywhere in a picture, 
  126. after the direction has been established appropriately.
  127. It is used with all of the 2-cell types.
  128.  
  129. <P>
  130. (
  131. <#87#>=;SPMgt;<#87#><#899#>!/5pt/<#88#>=<#88#>!/2.5pt/<#89#>=<#89#>*!/-5pt/2<#90#>;SPMgt;<#90#><#899#>
  132.  
  133. <P>
  134. @#1<#900#><#900#>
  135. @@ <#901#><#92#>=;SPMgt;<#92#><#901#>
  136. )
  137.  
  138. <P>
  139. <BR>
  140. <tex2html_image_mark>#code93#
  141. <BR>
  142.  
  143. <P>
  144.  
  145. <DIV class="CENTER"><A ID="125"><tex2html_anchor_mark></A>
  146. <TABLE>
  147. <CAPTION class="BOTTOM"><STRONG><#1728#>Figure<#1728#>:</STRONG>
  148. <#1729#>Pasting diagram.<#1729#></CAPTION>
  149. <TR><TD><P><tex2html_verbatim_mark>#math451#</P><DIV ALIGN="CENTER">
  150. <tex2html_image_mark>#tex2html_wrap_indisplay1727#
  151. </DIV><P></P>
  152. ??=[f.pasting]</TD></TR>
  153. </TABLE>
  154. </DIV>
  155.  
  156.  
  157. <P>
  158.